package com.zc.common.extension;

import java.util.AbstractSet;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by zhangchi9 on 2016/12/6.
 */
public class ConcurrentHashSet<E> extends AbstractSet<E> implements Set<E>, java.io.Serializable {

    private final ConcurrentHashMap<E, Object> map;
    @Override
    public Iterator<E> iterator() {
        return null;
    }

    @Override
    public int size() {
        return 0;
    }

    public ConcurrentHashSet(){
        map = new ConcurrentHashMap<E, Object>();
    }
}
